using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Models;

namespace IDAL
{
    public interface IDeviceRecordService
    {
        Task<int> AddDevice(DeviceRecord record);
        Task<int> UpdateDevice(DeviceRecord record);
        List<DeviceRecord> GetDevices(int pageNum, int pageSize);
        DeviceRecord GetDeviceById(uint id);
        bool DeviceExists(uint id);
    }
}